03. How APIs Work
How APIs Work Heading
How APIs Work
FSND C2 L1 A03 How APIs Work
Client-Server Communication
When you got to a bank, the bank teller acts as an intermediary or interface between you and the bank vault. And this is the same type of relationship we see in client-server communication: The user or client makes a request to the API server, which parses the requests, queries the database, formats a response and then sends it back.
Here is the process listed out:
- Client sends a request to the API server
- The API server parses that request
- Assuming the request is formatted correctly, the server queries the database for the information or performs the action in the request
- The server formats the response and sends it back to the client
- The client renders the response according to its implementation
What are APIs Quiz 1
SOLUTION:
Application Programming InterfaceWhat are APIs Quiz 2
SOLUTION:
- Defines standardized methods of accessing application data
- Doesn’t expose application implementation